<#import "/spring.ftl" as spring/>

<#macro edit click attr=''>
	<el-button type="warning" size="mini" @click="${click}" icon="el-icon-edit" ${attr}>编辑</el-button>
</#macro>

<#macro delete click attr=''>
	<el-button type="danger" size="mini" @click="${click}" icon="el-icon-delete" ${attr}>删除</el-button>
</#macro>

<#macro show click attr=''>
	<el-button type="primary" size="mini" @click="${click}" icon="el-icon-search" ${attr}>查看</el-button>
</#macro>

<#macro stop click attr=''>
	<el-button type="warning" plain size="mini" icon="el-icon-close" @click="${click}" ${attr}>停用</el-button>
</#macro>

<#macro start click attr=''>
	<el-button type="success" plain size="mini" icon="el-icon-check" @click="${click}" ${attr}>启用</el-button>
</#macro>

<#macro save click attr=''>
	<el-button type="success" plain size="mini" icon="el-icon-collection" @click="${click}" ${attr}>保存</el-button>
</#macro>